#pragma once
#include <typescommon.h>

struct pipeOperateBaseInform
{
    char pipeFileStr[256];
    int pipeFd;
};

int pipeOperateInit(struct pipeOperateBaseInform *pipopt, const char *pipfile);
int pipeOperateRead(struct pipeOperateBaseInform *pipopt, char *data, int datasize);
int pipeOperateWrite(struct pipeOperateBaseInform *pipopt, const char *data, int datasize);
int pipeOperateQuit(struct pipeOperateBaseInform *pipopt);
